%% ----------------------------------------------------------------
%% Thesis.tex -- MAIN FILE (the one that you compile with LaTeX)
%% ---------------------------------------------------------------- 

% Set up the document
\documentclass[a4paper, 11pt, doubleside]{Thesis}  % Use the "Thesis" style, based on the ECS Thesis style by Steve Gunn
\graphicspath{{Figures/}}  % Location of the graphics files (set up for graphics to be in PDF format)

% Include any extra LaTeX packages required
\usepackage[square, numbers, comma, sort&compress]{natbib}  % Use the "Natbib" style for the references in the Bibliography
\usepackage{verbatim}  % Needed for the "comment" environment to make LaTeX comments
\usepackage{vector}  % Allows "\bvec{}" and "\buvec{}" for "blackboard" style bold vectors in maths
\usepackage{amsmath}
\usepackage{color}
\usepackage[]{graphicx}
\usepackage{balance} 
\usepackage{setspace} 
\usepackage{spverbatim} 
\usepackage{algorithm}
\usepackage{algorithmic} 
\usepackage{lscape}
\usepackage{multirow}
\usepackage{longtable}
\usepackage{listings,lipsum}
\newtheorem{myproof}{Proof}
\newcommand{\argmax}{\operatornamewithlimits{argmax}}
\DeclareMathOperator*{\argmin}{arg\,min}
\usepackage{lipsum}
\makeatletter
\newenvironment{abstract}
               { 
                 \list{}{\listparindent 1em%
                     \baselineskip 1.4em
                        %\setlength{\leftmargin}{<value>} adjust if you need
                        \itemindent\listparindent
                        \rightmargin\leftmargin                       
                        \parsep\z@ \@plus\p@}%
                \item\relax
                  }
               {\endlist}
 
\hypersetup{urlcolor=blue, colorlinks=true}  % Colours hyperlinks in blue, but this can be distracting if there are many links.

%% ----------------------------------------------------------------
\begin{document}
\input{./Preamble/preamble} % Introduction
%% ----------------------------------------------------------------
\mainmatter	  % Begin normal, numeric (1,2,3...) page numbering
\pagestyle{fancy}  % Return the page headers back to the "fancy" style

% Include the chapters of the thesis, as separate files
% Just uncomment the lines as you write the chapters

\input{./Chapters/Chapter1/chapter1} % Introduction

\input{./Chapters/Chapter2/chapter2} % Vision

\input{./Chapters/Chapter3/chapter3} % SERIMI

\input{./Chapters/Chapter4/chapter4} % SONDA

\input{./Chapters/Chapter5/chapter5} % String Transformation

\input{./Chapters/Chapter6/chapter6} % TREC-KBA

\input{./Chapters/Chapter7/chapter7} % Conclusion

%% ----------------------------------------------------------------
% Now begin the Appendices, including them as separate files

\addtocontents{toc}{\vspace{2em}} % Add a gap in the Contents, for aesthetics

\appendix % Cue to tell LaTeX that the following 'chapters' are Appendices

\input{./Chapters/Chapter3/sec-appendix}	% Appendix Title

%\input{./Appendices/AppendixB} % Appendix Title

%\input{./Appendices/AppendixC} % Appendix Title

\addtocontents{toc}{\vspace{2em}}  % Add a gap in the Contents, for aesthetics
\backmatter

%% ----------------------------------------------------------------
\label{Bibliography}
\lhead{\emph{Bibliography}}  % Change the left side page header to "Bibliography"
\bibliographystyle{unsrtnat}  % Use the "unsrtnat" BibTeX style for formatting the Bibliography
\bibliography{Bibliography}  % The references (bibliography) information are stored in the file named "Bibliography.bib"

\input{./siks} 

\end{document}  % The End
%% ----------------------------------------------------------------